#include <QCoreApplication>
#include "mysender.h"
#include "myreceiver.h"

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);

    MySender s;
    MyReceiver r;

    QObject::connect(&s, SIGNAL( valueChanged(int) ),&r, SLOT( setValue(int)) );

    s.UiMakeValueChanged();

    return a.exec();
}
